import { AppPage } from './app-page.entity'
import { Entity, PrimaryGeneratedColumn, ManyToOne } from 'typeorm'

@Entity()
export class AppPageShare {
  @PrimaryGeneratedColumn()
  id: number

  @ManyToOne(type => AppPage, appPage => appPage.share)
  page: AppPage
}
